Foxit PDF RDK
FoxitPDFViewCtrl.IPageAutoEventListener Class Reference

Public Member Functions

 onAutoEventEnd (eventType)
 
 onAutoEventStart (eventType)
 
 onScroll (distanceX, distanceY)
 

Detailed Description

Interface definition for a listener to handle page auto events.

Member Function Documentation

◆ onAutoEventEnd()

FoxitPDFViewCtrl.IPageAutoEventListener.onAutoEventEnd ( eventType  )

Called when auto event end.

Parameters
eventTypeThe type of auto event.

◆ onAutoEventStart()

FoxitPDFViewCtrl.IPageAutoEventListener.onAutoEventStart ( eventType  )

Called when auto event start.

Parameters
eventTypeThe type of auto event.

◆ onScroll()

FoxitPDFViewCtrl.IPageAutoEventListener.onScroll ( distanceX  ,
distanceY   
)

Called when the roll happens.The distance in x and y is also supplied for convenience.

Parameters
distanceXThe distance along the X axis that has been scrolled since the last call to onScroll.
distanceYThe distance along the Y axis that has been scrolled since the last call to onScroll.